package com.jeeplus.modules.web.entity;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.sys.entity.User;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author liangbing
 * @version 1.0
 * @date 2021/3/11 16:09
 * @description 幺九二维码
 */
public class YjQrcodes extends DataEntity<YjQrcodes> {
    private static final long serialVersionUID = 2L;

    private String qrcode;

    /**
     * 二维码图片地址
     */
    private String qrCodeFilePath;

    private Integer category;

    /**
     * 是否被使用
     */
    private Integer used;

    /**
     * 棋牌室房间
     */
    private YjMahjongHallRoom mahjongHallRoom;

    /**
     * 棋牌室
     */
    private YjMahjongHall mahjongHall;

    /**
     * 棋牌室名称
     */
    private String mahjongHallName;

    public YjQrcodes() {
        super();
        this.setIdType(IDTYPE_AUTO);
    }

    public YjQrcodes(String id) {
        this.setId(id);
    }

    public String getQrcode() {
        return qrcode;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode;
    }

    public String getQrCodeFilePath() {
        return qrCodeFilePath;
    }

    public void setQrCodeFilePath(String qrCodeFilePath) {
        this.qrCodeFilePath = qrCodeFilePath;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getUsed() {
        return used;
    }

    public void setUsed(Integer used) {
        this.used = used;
    }

    public YjMahjongHallRoom getMahjongHallRoom() {
        return mahjongHallRoom;
    }

    public void setMahjongHallRoom(YjMahjongHallRoom mahjongHallRoom) {
        this.mahjongHallRoom = mahjongHallRoom;
    }

    public YjMahjongHall getMahjongHall() {
        return mahjongHall;
    }

    public void setMahjongHall(YjMahjongHall mahjongHall) {
        this.mahjongHall = mahjongHall;
    }

    public String getMahjongHallName() {
        return mahjongHallName;
    }

    public void setMahjongHallName(String mahjongHallName) {
        this.mahjongHallName = mahjongHallName;
    }

    @Override
    public void preInsert() {
        super.preInsert();
    }

    @Override
    public void preUpdate() {
        super.preUpdate();
    }

    @Override
    public String getRemarks() {
        return super.getRemarks();
    }

    @Override
    public void setRemarks(String remarks) {
        super.setRemarks(remarks);
    }

    @Override
    public User getCreateBy() {
        return super.getCreateBy();
    }

    @Override
    public void setCreateBy(User createBy) {
        super.setCreateBy(createBy);
    }

    @Override
    public Date getCreateDate() {
        return super.getCreateDate();
    }

    @Override
    public void setCreateDate(Date createDate) {
        super.setCreateDate(createDate);
    }

    @Override
    public User getUpdateBy() {
        return super.getUpdateBy();
    }

    @Override
    public void setUpdateBy(User updateBy) {
        super.setUpdateBy(updateBy);
    }

    @Override
    public Date getUpdateDate() {
        return super.getUpdateDate();
    }

    @Override
    public void setUpdateDate(Date updateDate) {
        super.setUpdateDate(updateDate);
    }

    @Override
    public String getDelFlag() {
        return super.getDelFlag();
    }

    @Override
    public void setDelFlag(String delFlag) {
        super.setDelFlag(delFlag);
    }
}
